<%-- 
    Document   : review
    Created on : May 4, 2011, 4:40:28 PM
    Author     : alexnewski
--%>

<%@page import="com.movie.Movie"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@include file="header.html"%>

<% Movie movie = (Movie) request.getAttribute("movie");
   int review = Integer.parseInt(request.getParameter("review"));
%>

<div>         
    <form method="POST" action="dispatcher?operation=review&movieid=<%=movie.getIdmovie()%>&review=<%=Integer.toString(review)%>" >               
        <h3>Comments:</h3>
        </br> <TEXTAREA NAME="comments" COLS=40 ROWS=6></TEXTAREA><br/>
        <p><input type="submit" class="button"/></p>
</div>
</form>

<%@include file="footer.html"%>